using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using OgilvyOne.IDAL;
using OgilvyOne.DALFactory;
using OgilvyOne.Model;

namespace OgilvyOne.BLL
{
     public class Resume
    {
        // Methods
        public bool Add_Resume_data(ResumeInfo resumeinfo)
        {
            return ResumeDAL.Create().Add_Resume_data(resumeinfo);
        }

        public void Delete(int resume_id)
        {
            ResumeDAL.Create().Delete(resume_id);
        }

        public IList getList(ResumeInfo resumeInfo)
        {
            return ResumeDAL.Create().getResumeList(resumeInfo);
        }

        public IList getResume(int resume_id)
        {
            return ResumeDAL.Create().select_Resumer_data(resume_id);
        }

        public IList getResume(string duty)
        {
            return ResumeDAL.Create().select_Resumer_data(duty);
        }

        public ResumeInfo getResumeList(int resume_id)
        {
            return ResumeDAL.Create().getResumer_data(resume_id);
        }

        public bool update_Resume(ResumeInfo rsinfo)
        {
            return ResumeDAL.Create().update_Resume_data(rsinfo);
        }

    }
}
